--################# Notify selected players @Prefanatic
function Notify(ply, msg, time)	
	umsg.Start("_Notify", ply)
		umsg.String(msg)
		umsg.Short(time)
	umsg.End()
end

--################# Notify everyone @Prefanatic
function NotifyAll(msg, time)
	for k, v in pairs(player.GetAll()) do
		Notify(v, msg, time)
	end
end

--################# Print a message to everyone @Prefanatic
function PrintMessageAll(msgtype, msg)
	for k, v in pairs(player.GetAll()) do
		v:PrintMessage(msgtype, msg)
	end
end

local meta = FindMetaTable( "Player" )


local Sharpen = 0
local SharpenA = 0
local SharpenB = 0
local BlurA = 0
local BlurB = 0
local BlurC = 0

function DrawBlur( a, b, c )
		BlurA = math.Approach(BlurA, a, FrameTime())
		BlurB = math.Approach(BlurB, b, FrameTime())
		BlurC = math.Approach(BlurC, c, FrameTime())
	DrawMotionBlur(  BlurA, BlurB, BlurC )
end

function DrawSharp( a, b )

	SharpenA = math.Approach(SharpenA, a, FrameTime())
		SharpenB = math.Approach(SharpenB, b, FrameTime())
	DrawSharpen(SharpenA, SharpenB)
	
end
